package com.leo.erp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("tb_user")
public class User {
	@TableId(value = "userId", type = IdType.AUTO)
    private int userId;//id
	
	@TableField("userName")
    private String userName;//名字

	@TableField("loginName")
    private String loginName;//登陆帐号
	
	@TableField("password")
    private String password;//密码

	@TableField("position")
    private String position;//职位

	@TableField("department")
    private String department;//所属部门

	@TableField("email")
    private String email;//电子邮箱

	@TableField("phoneNum")
    private String phoneNum;//手机号码

	@TableField("isManager")
    private int isManager;//是否为管理者1:管理者 2:员工

	@TableField("isSystem")
    private int isSystem;//是否系统自带数据

	@TableField("status")
    private int status;//状态,1:正常,2:删除,3.封禁

	@TableField("description")
    private String description;//用户描述信息

	@TableField("remark")
    private String remark;//备注

	@TableField("tenantId")
    private int tenantId;//租户id
	
	
	@TableField(exist = false)
	private int orgaId;
	@TableField(exist = false)
	private String userBlngOrgaDsplSeq;

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName  == null ? null : userName.trim();
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName == null ? null : loginName.trim();
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password == null ? null : password.trim();
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position == null ? null : position.trim();
	}

	public String getDepartment() {
		return department;
	}

	public void setDepartment(String department) {
		this.department = department == null ? null : department.trim();
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email == null ? null : email.trim();
	}

	public String getPhoneNum() {
		return phoneNum;
	}

	public void setPhoneNum(String phoneNum) {
		this.phoneNum = phoneNum == null ? null : phoneNum.trim();
	}

	public int getIsManager() {
		return isManager;
	}

	public void setIsManager(int isManager) {
		this.isManager = isManager;
	}

	public int getIsSystem() {
		return isSystem;
	}

	public void setIsSystem(int isSystem) {
		this.isSystem = isSystem;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description == null ? null : description.trim();
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark == null ? null : remark.trim();
	}

	public int getTenantId() {
		return tenantId;
	}

	public void setTenantId(int tenantId) {
		this.tenantId = tenantId;
	}

	public int getOrgaId() {
		return orgaId;
	}

	public void setOrgaId(int orgaId) {
		this.orgaId = orgaId;
	}

	public String getUserBlngOrgaDsplSeq() {
		return userBlngOrgaDsplSeq;
	}

	public void setUserBlngOrgaDsplSeq(String userBlngOrgaDsplSeq) {
		this.userBlngOrgaDsplSeq = userBlngOrgaDsplSeq;
	}
	
	
    
}